<?php
/**
 * Short description for test.php
 *
 * @author    tiglog <xq@tiglog.com>
 * @version   0.1
 * @license   MIT
 * @created   2017-08-08
 */

require(__DIR__ . '/../vendor/autoload.php');

$config = array_merge_recursive(
    require(__DIR__ . '/../app/config/base.php'),
    require(__DIR__ . '/../app/config/test.php')
);

require(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php');

define('TEST_BASEURL', 'http://127.0.0.1:8000/test.php');

(new yii\web\Application($config))->init();


// vim:ft=php:ts=4:sts=4:sw=4:et
